package com.xb.cloud.user.model.mapper;

import com.xb.cloud.user.model.EndUserFavoriteShop;
import com.xb.cloud.user.model.EndUserFavoriteShopExample;
import com.xb.cloud.user.model.EndUserFavoriteShopExamplePaged;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EndUserFavoriteShopMapper {
    int countByExample(EndUserFavoriteShopExample example);

    int deleteByExample(EndUserFavoriteShopExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EndUserFavoriteShop record);

    int insertSelective(EndUserFavoriteShop record);

    List<EndUserFavoriteShop> selectByExample(EndUserFavoriteShopExample example);

    List<Long> selectByExamplePaged(EndUserFavoriteShopExamplePaged example);
    
    EndUserFavoriteShop selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EndUserFavoriteShop record, @Param("example") EndUserFavoriteShopExample example);

    int updateByExample(@Param("record") EndUserFavoriteShop record, @Param("example") EndUserFavoriteShopExample example);

    int updateByPrimaryKeySelective(EndUserFavoriteShop record);

    int updateByPrimaryKey(EndUserFavoriteShop record);
}